
export default function f2h(full: string) {
	return Array.from(full).map((_c, i) => {
		if (full.charCodeAt(i) === 12288) {
			return String.fromCharCode(full.charCodeAt(i) - 12256);
		} else if (full.charCodeAt(i) > 65280 && full.charCodeAt(i) < 65375) {
			return String.fromCharCode(full.charCodeAt(i) - 65248);
		} else {
			return String.fromCharCode(full.charCodeAt(i));
		}
	}).join('');
}
